package com.hailian.fintech.feignserver.feign;

import com.hailian.fintech.hlbackingserver.entity.Account;
import com.hailian.fintech.hlcomm_interfaceserver.entity.POJO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient(name = "hl-backing-server"/*,fallback = HelloFeignCallback.class*/)
public interface AccountFeign {
    @RequestMapping("account/selectTiXianAccount")
    @ResponseBody
    public List<Account> selectTiXianAccount(@RequestParam("operationType")String operationType);
    @RequestMapping("account/passAccount")
    @ResponseBody
    public Object passAccount(@RequestParam("id")Integer id);
    @RequestMapping("account/selectToAddJiaoYi")
    @ResponseBody
    public List<Account> selectToAddJiaoYi(@RequestParam("status")String status);

}
